using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
namespace SRW.SetInfo
{
   class SetWtTmNum
   {
      public static SqlCommand Set_WtTmNum_Data(SqlCommand cmd, WtTmNum mWtTmNum,bool CheckPk)
      {
         
         if (!(string.IsNullOrEmpty(mWtTmNum.pkID.ToString())))
         {
            if (CheckPk)
               cmd.Parameters.AddWithValue("@pkID", mWtTmNum.pkID);
         }
         if (!(string.IsNullOrEmpty(mWtTmNum.wtNumber.ToString())))
         {
         cmd.Parameters.AddWithValue("@wtNumber", mWtTmNum.wtNumber);
         }
         return cmd;
      }
   }
}
